export const constantRouterMap = [
  {
    path: "/",
    redirect: "/index",
    name:'layout',
    component:()=>import("@/views/layout"),
    meta: {
      title: "首页",
      keepAlive: false,
    },
    children:[
      {
        path: "/index",
        name:'index',
        component: () => import("@/views/index/index"),
        meta: {
          title: "首页",
          keepAlive: false,
        },
      },
      {
        path: "/personal",
        name:'personal',
        component: () => import("@/views/personal/index"),
        meta: {
          title: "人物档案库",
          keepAlive: true,
        },
      },
      {
        path: "/personal/detail",
        name:'personalDetail',
        component: () => import("@/views/personal/detail"),
        meta: {
          title: "人物详情",
          keepAlive: false,
        },
      },
      {
        path: "/organization",
        name:'organization',
        component: () => import("@/views/organization/index"),
        meta: {
          title: "机构档案库",
          keepAlive: false,
        },
      },
      {
        path: "/organization/detail",
        name:'organizationDetail',
        component: () => import("@/views/organization/detail"),
        meta: {
          title: "机构详情",
          keepAlive: false,
        },
      },
      {
        path: "/twitter",
        name:'twitter',
        component: () => import("@/views/twitter/index"),
        meta: {
          title: "推特档案库",
          keepAlive: false,
        },
      },
      {
        path: "/twitter/detail",
        name:'twitterdetail',
        component: () => import("@/views/twitter/detail"),
        meta: {
          title: "推特档案详情",
          keepAlive: false,
        },
      },
      {
        path: "/themes",
        name:'themes',
        component: () => import("@/views/themes/index"),
        meta: {
          title: "主题档案库",
          keepAlive: false,
        },
      },
      {
        path: "/themes/detail",
        name:'themesdetail',
        component: () => import("@/views/themes/detail"),
        meta: {
          title: "主题详情",
          keepAlive: false,
        },
      },
      {
        path: "/managearchives",
        name:'managearchives',
        component: () => import("@/views/managearchives/index"),
        meta: {
          title: "我的档案",
          keepAlive: false,
        },
      },
      {
        path: "/managearchives/attentionmanagear",
        name:'attentionmanagear',
        component: () => import("@/views/managearchives/attentionmanagear"),
        meta: {
          title: "关注的档案",
          keepAlive: false,
        },
      },
      {
        path: "/managearchives/createmanagearchives",
        name:'createmanagearchives',
        component: () => import("@/views/managearchives/createmanagearchives"),
        meta: {
          title: "创建档案",
          keepAlive: false,
        },
      },
      {
        path: "/managetheme/mytheme",
        name:'mytheme',
        component: () => import("@/views/managetheme/index"),
        meta: {
          title: "我的主题",
          keepAlive: false,
        },
      },
      {
        path: "/managetheme/concerntheme",
        name:'concerntheme',
        component: () => import("@/views/managetheme/concerntheme"),
        meta: {
          title: "关注的主题",
          keepAlive: false,
        },
      },
      {
        path: "/managetheme/createtheme",
        name:'createtheme',
        component: () => import("@/views/managetheme/createtheme"),
        meta: {
          title: "创建主题",
          keepAlive: false,
        },
      },
      {
        path: "/manageuser",
        name:'manageuser',
        component: () => import("@/views/managetheme/index"),
        meta: {
          title: "用户管理",
          keepAlive: false,
        },
      },
    ]
  },
  {
    path: "/login",
    name: 'login',
    component: () => import("@/views/login"),
    meta: {
      title: "登录页",
      keepAlive: false,
    },
  },
];
